<% @errors.each do |type, msg| %>
  <div class="<%= type %>">

    <h1><span>Preprocessing Error in:</span> <%= type %></h1>

    <pre><%= msg %></pre>

  </div>
<% end %>